<%= content_for :css do %>
	<%= stylesheet_link_tag '/assets/tour' %>
	<style>
		#mainContent{height: <%= 110 + ((@structures.count/3.0).ceil * 300) %>px;}
	</style>
<% end %>

<div id="orinfo"><%= link_to 'Home', root_path %> > Structures Tour</div>

<h1>Structures Tour</h1>
<ul class="gallery">
	<% @structures.each do |structure| %>
		<li>
			<%= link_to structure_path(structure, guided_tour: true) do%>
				<%= image_tag structure.preview_img_src %>
	    		<div class="name"><%= structure.name %></div>
			<% end %>
		</li>
	<% end %>
</ul>
